﻿<%@ Assembly Name="ServBus.ListForm2013, Version=1.0.0.0, Culture=neutral, PublicKeyToken=df5827f77359eb0a" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListFormWFManagement.aspx.cs"
    Inherits="ServBus.ListForm2013.Layouts.ListForm2013.ListFormWFManagement" DynamicMasterPageFile="~masterurl/default.master" %>
<asp:content id="PageHead" contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
    <title></title>
    <script src="js/ListForm.js" type="text/javascript"></script>
</asp:content>
<asp:content id="Main" contentplaceholderid="PlaceHolderMain" runat="server">
<asp:Panel runat="server" ID="mainPanel" Visible="false">
    <table style="margin: 15px">
        <tr>
            <td colspan="2">
                <asp:label runat="server" id="wfDdlLabel"></asp:label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:DropDownList runat="server" AutoPostBack="true" ID="wfDdl" OnSelectedIndexChanged="WfDdlChanged" Visible="false">
                </asp:DropDownList>
            </td>
        </tr>
        <tr><td><asp:label runat="server" id="tlLabel" visible="false"></asp:label></td></tr>
        
        <tr>
            <td colspan="2">
                <asp:label runat="server" id="ctDdlLabel"></asp:label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:DropDownList runat="server" AutoPostBack="true" ID="ctDdl" OnSelectedIndexChanged="CtDdlChanged" Visible="false">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="2">
            <asp:RadioButtonList ID="CreateFormRd" runat="server" Visible="false" AutoPostBack="true" OnSelectedIndexChanged="CreateFormRdChanged">
            </asp:RadioButtonList>
                <%--<asp:RadioButton ID="CustomizeFormRd" runat="server" Checked="false" Visible="false" /><br />
                <asp:RadioButton ID="CreateLookupFormRd" runat="server" Checked="false" Visible="false" />--%>
            </td>
        </tr>
        <tr>
            <td colspan="2">
            <asp:Panel runat="server" ID="modifyPanel" Visible="false">
                <asp:RadioButton ID="ModifyFormRd" runat="server" Checked="false" OnCheckedChanged="ModifyFormRdChanged"  AutoPostBack="true"/><br />
                
                <%--<asp:RadioButton ID="SpecificViewRd" runat="server" Checked="false" OnCheckedChanged="SpecificViewRdChanged"  AutoPostBack="true"/><br />
                <table>
                 <tr><td Style="padding-left: 15px"><asp:label runat="server" id="displayFormLabel"></asp:label></td><td> <asp:DropDownList runat="server" ID="dispViewDdl"></asp:DropDownList></td></tr>
                    <tr><td Style="padding-left: 15px" colspan="2"><asp:CheckBox runat="server" ID="dispalyFormReadOnlyCb"/><asp:label runat="server" id="dispalyFormReadOnlyLabel"></asp:label></td></tr>
                 <tr><td Style="padding-left: 15px"><asp:label runat="server" id="editFormLabel"></asp:label></td><td> <asp:DropDownList runat="server" ID="editViewDdl"></asp:DropDownList></td></tr>
                 

                </table>--%>
                <asp:RadioButton ID="DefaultFormRd" runat="server" Checked="false" OnCheckedChanged="DefaultFormRdChanged"  AutoPostBack="true"/><br />
                <asp:CheckBox Style="padding-left: 15px" runat="server" ID="deleteCB" OnCheckedChanged="DeleteFormCbChanged"  AutoPostBack="true"/>
             </asp:Panel>
            </td>
        </tr>
        
        <tr>
        <td colspan="2">
        <table><tr>
            <td>
                <asp:Button ID="okButton" runat="server" OnClick="OkButtonClick"/>
            </td>
            <td>
                <asp:Button ID="cancelButton" runat="server" OnClick="CancelButtonClick" Style="margin: 15px" />
            </td>
            </tr></table>
</td>
        </tr>
    </table>
    </asp:Panel>
    <div  style="color:red;font-size:1.2em;font-weight:bold;padding-left:15px">
    <asp:literal ID="LTException" runat="server" Text="" visible="false"></asp:literal>
    </div>
<asp:Panel id="errorPanel" runat="server" visible="false">
<br/>
<div style="color:red;font-size:1.2em;font-weight:bold;padding-left:15px">
Oops! There must be something wrong, please try again later. <br/>If you've failed for several times, please contact administrator.
</div>
</asp:Panel>
</asp:content>
<asp:content id="PageTitle" contentplaceholderid="PlaceHolderPageTitle" runat="server">
    <asp:Literal runat="server" id="titleLabel"></asp:Literal>
</asp:content>
<asp:content id="PageTitleInTitleArea" contentplaceholderid="PlaceHolderPageTitleInTitleArea"
    runat="server">
</asp:content>
